<h2>手动月度统计</h2>
<div class="yiiForm">
<?php
	echo EHtml::form();	
	EHtml::setOptions(array('errorElement'=> 'span'));
?>
<div style="padding:10px 110px">注：<span class="required">*</span>为必填项</div>
<div id="one1">
<div class="simple" style="border:1px solid #90b3bc;margin:0px auto;border-top:0px;margin-bottom:-1px;">
<?php echo CHtml::activeLabelEx($form,'time'); ?>
<?php echo EHtml::activeTextField($form,'time',array('size'=>8,'maxlength'=>10,'id'=>'time')); ?>
<?php $this->widget('application.extensions.calendar.SCalendar',array('inputField'=>'time','ifFormat'=>'%Y-%m',));?>
</div>
</div><br/><br/><br/>
<div class="action">
<?php echo EHtml::submitButton('开始统计'); ?>
</div>

<?php echo EHtml::endForm(); ?>

</div><!-- yiiForm -->
<?php if($form->hasErrors()) echo "<script>alert('您填写的信息有误！请根据页面红色图标提示修改。');</script>";?>
<?php if(isset($_GET['mess'])):?>
<script>alert("<?php echo $_GET['mess'];?>");</script>
<?php endif;?>